Do not call gtk_widget_set_parent_window(), using widget->window instead
authorCarlos Garnacho <carlos@imendio.com>
Thu, 10 Apr 2008 17:16:08 +0000 (17:16 +0000)
committerCarlos Garnacho <carlosg@src.gnome.org>
Thu, 10 Apr 2008 17:16:08 +0000 (17:16 +0000)
commit5f6e5778663aa3661f158baee797b5c34911a004
tree454df35f61efc34eed7c82bcf1d7ffb04c668fa4
parent54706dddf8034edf8596d0f7e107dc1309de7a5c
Do not call gtk_widget_set_parent_window(), using widget->window instead

2008-04-10  Carlos Garnacho  <carlos@imendio.com>

        * gtk/gtknotebook.c (hide_drag_window): Do not call
        gtk_widget_set_parent_window(), using widget->window instead of NULL
        to unset is the wrong thing, and gtk_widget_unparent() will already
        take care of this (#467698, patch by Sébastien Granjoux)

svn path=/trunk/; revision=19987
ChangeLog
gtk/gtknotebook.c